import ctypes
# from ctypes import *
 
so = ctypes.cdll.LoadLibrary 
lib = so("/mysite/stwebservice/smart_cutter/ToolMillAutoOffset.so") 
#print("111")
para =  "d4,f1|2.5,2.0|2.0,3.0|/tmp/st_so_test/22/999.scr"
print("para:",para,"len(para):",len(para))
a = lib.creatNewScr(para , len(para))
print("return:" , a)


